update internals 6

Documentation Version for Comments and Changes

You are invited to make any changes...add any comments.

Changes will `eventually` be merged into the offical documentation.

Leave any commnents here...

...

... back to index page OE documentation



<internal> struct d * DBL_PTR( object o ) </eucode>

Returns

The pointer to a 'struct d' from the object o.

Assumption

IS_ATOM_INT(o) is FALSE and IS_ATOM_DBL(o) is TRUE.

SEQ_PTR

<internal> struct s1 * SEQ_PTR( object o ) 
Returns

The pointer to a 'struct s1' from the object o.

Assumption

IS_SEQUENCE(o) is TRUE and o is not NOVALUE.

get_pos_int
#include be_machine.h 
<internal> uintptr_t get_pos_int(char *where, object x) 
Returns

a unsigned long value by truncating what x's value is to an integer

Comment

Any object may be passed. A sequence results in a runtime failure. There may be a cast of a double to a smaller ranged long type.

Creating Objects

NewS1

<internal> object NewS1 ( long size ) 
Returns

A sequence object with size members which are not yet set to a value.

Object Constants

Use MAXINT and MININT to check for overflow and underflow, NOVALUE to check if a variable has not been assigned, and use NOVALUE to terminate a sequence.

NOVALUE

<internal> object NOVALUE 

Indicates that a variable has not been assigned and also terminates a sequence.

MININT

<internal> signed int MININT 

The minimal Euphoria integer. This is -(230).

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu